import { createRouter, createWebHashHistory } from 'vue-router';

// 创建路由
const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    { path: '/', component: () => import('@/views/Layout/index.vue') },
    { path: '/login', component: () => import('@/views/Login/index.vue') },
  ],
});

// 路由导出
export default router;
